package ${domain.packageName};

<#if (columnEnum)??>import ${columnEnum.packageName}.${columnEnum.fileName};</#if>
import ${baseDomain.packageName}.${baseDomain.fileName};
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
<#list tableClass.importList as fieldType>
import ${fieldType};
</#list>
import java.io.Serializable;


/**
 * 针对表【${tableClass.tableName}<#if tableClass.remark?has_content>(${tableClass.remark!})</#if>】的数据库Domain对象
 *
 * @author MyBatisX Generator
 * @see Serializable
 *<#if (columnEnum)??> @see ${columnEnum.fileName}</#if>
 */
@Getter
@Setter
@ToString(callSuper = true)
public class ${tableClass.shortClassName} extends ${baseDomain.fileName} {

<#assign baseFields=["updatedAt","createdAt","updatedBy","createdBy","deleted"] />
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

<#list tableClass.allFields as field>
    <#if !baseFields?seq_contains(field.fieldName)>

    /**
     * 描述：${field.remark!'无描述'}<br />
     * 数据库字段: ${field.columnName}<br />
     * 允许为空: ${field.nullable?string('true','false')}<br />
     */
    private ${field.shortTypeName} ${field.fieldName};
    </#if>
</#list>
}
